package com.coolgor.axnut.entity.mdmis;

import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonProperty;

/**
 * 保单信息实体类
 * @author CoolGor
 */
public class DeliverInfoCondition extends DeliverInfo{
	//第几次递送
	private Integer deliverTimes1; 
	private Integer deliverTimes2; 
	//寄出时间
	@JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
	private Date deliverTimeBegin; 
	@JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
	private Date deliverTimeEnd; 	
	//返回时间
	@JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
	private Date returnTimeBegin; 
	@JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
	private Date returnTimeEnd; 
	//配合easyui分页用的两个参数
	private Integer page; 
	private Integer rows; 	
	
	
	public DeliverInfoCondition() {
		super();
	}
	
	public DeliverInfoCondition(DeliverInfo deliverInfo) {
		this.setRecordID(deliverInfo.getRecordID());
		this.setInsureNo(deliverInfo.getInsureNo());
		this.setDeliverTimes(deliverInfo.getDeliverTimes());
		this.setRecipient(deliverInfo.getRecipient());
		this.setTelephone(deliverInfo.getTelephone());
		this.setAddress(deliverInfo.getAddress());
		this.setDeliverCompany(deliverInfo.getDeliverCompany());
		this.setDeliverNo(deliverInfo.getDeliverNo());
		this.setDeliverTime(deliverInfo.getDeliverTime());
		this.setReturnNo(deliverInfo.getReturnNo());
		this.setReturnTime(deliverInfo.getReturnTime());
		this.setDeliverInfo(deliverInfo.getDeliverInfo());
		this.setRemark(deliverInfo.getRemark());
	}

	public Integer getDeliverTimes1() {
		return deliverTimes1;
	}

	public void setDeliverTimes1(Integer deliverTimes1) {
		this.deliverTimes1 = deliverTimes1;
	}

	public Integer getDeliverTimes2() {
		return deliverTimes2;
	}

	public void setDeliverTimes2(Integer deliverTimes2) {
		this.deliverTimes2 = deliverTimes2;
	}

	public Date getDeliverTimeBegin() {
		return deliverTimeBegin;
	}

	public void setDeliverTimeBegin(Date deliverTimeBegin) {
		this.deliverTimeBegin = deliverTimeBegin;
	}

	public Date getDeliverTimeEnd() {
		return deliverTimeEnd;
	}

	public void setDeliverTimeEnd(Date deliverTimeEnd) {
		this.deliverTimeEnd = deliverTimeEnd;
	}

	public Date getReturnTimeBegin() {
		return returnTimeBegin;
	}

	public void setReturnTimeBegin(Date returnTimeBegin) {
		this.returnTimeBegin = returnTimeBegin;
	}

	public Date getReturnTimeEnd() {
		return returnTimeEnd;
	}

	public void setReturnTimeEnd(Date returnTimeEnd) {
		this.returnTimeEnd = returnTimeEnd;
	}

	public Integer getPage() {
		return page;
	}

	public void setPage(Integer page) {
		this.page = page;
	}

	public Integer getRows() {
		return rows;
	}

	public void setRows(Integer rows) {
		this.rows = rows;
	}

	@Override
	public String toString() {
		return "DeliverInfoCondition [getDeliverTimes1()=" + getDeliverTimes1() + ", getDeliverTimes2()="
				+ getDeliverTimes2() + ", getDeliverTimeBegin()=" + getDeliverTimeBegin() + ", getDeliverTimeEnd()="
				+ getDeliverTimeEnd() + ", getReturnTimeBegin()=" + getReturnTimeBegin() + ", getReturnTimeEnd()="
				+ getReturnTimeEnd() + ", getPage()=" + getPage() + ", getRows()=" + getRows() + ", getRecordID()="
				+ getRecordID() + ", getInsureNo()=" + getInsureNo() + ", getDeliverTimes()=" + getDeliverTimes()
				+ ", getRecipient()=" + getRecipient() + ", getTelephone()=" + getTelephone() + ", getAddress()="
				+ getAddress() + ", getDeliverCompany()=" + getDeliverCompany() + ", getDeliverNo()=" + getDeliverNo()
				+ ", getDeliverTime()=" + getDeliverTime() + ", getReturnNo()=" + getReturnNo() + ", getReturnTime()="
				+ getReturnTime() + ", getDeliverInfo()=" + getDeliverInfo() + ", getRemark()=" + getRemark()
				+ ", getClass()=" + getClass() + ", hashCode()=" + hashCode() + ", toString()=" + super.toString()
				+ "]";
	}

}
